package com.example.ormsqlsplicingframe1.utlis;

public class ObjValue {


    public static boolean isNotNull(Object value) {

        if (value instanceof String) {
            if (value == null || value.equals("")){
                return false;
            }
            return true;
        }

        if (value instanceof Object){

            if (value == null){

                return false;
            }
            return true;
        }
        return false;
    }
}
